home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000226_fdc@columbia.edu_Fri Jul 19 09:26:28 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  44 lines

  1. Article: 13538 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: HELP!!!! How do you automate a kermit script?
  6. Date: 19 Jul 2002 09:26:20 -0400
  7. Organization: Columbia University
  8. Lines: 27
  9. Message-ID: <ah941s$e43$1@watsol.cc.columbia.edu>
  10. References: <b85d456a.0207190400.324a0317@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1027085182 16071 128.59.39.139 (19 Jul 2002 13:26:22 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 19 Jul 2002 13:26:22 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13538
  16.  
  17. In article <b85d456a.0207190400.324a0317@posting.google.com>,
  18. ruvena <ruvenakiash@hotmail.com> wrote:
  19. : I am trying to run a kermit script that will download data from a
  20. : remote site automatically based on the time of day on the system
  21. : clock.
  22. : What do you do to be able to automate the .ksc file so that it will
  23. : run at a certain time every day?
  24. :
  25. You can do it outside of Kermit or inside.  How you do it outside
  26. depends on the operating system.  In Unix, you would use a cron or at
  27. job.  In VMS, the batch system lets you run jobs at specified times.
  28. Some versions of Windows might have something for this but I'm not
  29. familiar with them.
  30.  
  31. To do it inside Kermit, use the PAUSE command in your script:
  32.  
  33. Syntax:  PAUSE [ { number-of-seconds, hh:mm:ss } ]
  34. Example: PAUSE 3  or  PAUSE 14:52:30
  35.   Do nothing for the specified number of seconds or until the given time of
  36.   day in 24-hour hh:mm:ss notation.  If the time of day is earlier than the
  37.   current time, it is assumed to be tomorrow.  If no argument given, one
  38.   second is used.  The pause can be interrupted by typing any character on
  39.   the keyboard unless SLEEP CANCELLATION is OFF.  If interrupted, PAUSE
  40.   fails, otherwise it succeeds.  Synonym: SLEEP.
  41.  
  42. - Frank
  43.